<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<div class="content">
	<c:forEach items="${articles}" var="articleItem">
		
		<div class="article">
			<div class="title">
				<c:out value="${articleItem.title}"/>
			</div>
			<div class="text">
				<c:out value="${articleItem.text}" escapeXml="false"/>
			</div>
			<div class="created">
				<fmt:formatDate value="${articleItem.created}" pattern="dd.MM.YYYY"/>
			</div>
		</div>
		
	</c:forEach>
</div>